      <div class="ud-sidebar">
      <div  class="pr">
        <div class="ud-sidebar-img">
             <img src="__ADMIN_IMG__/sidebar.png" class="w"alt="">
        </div>
        <div class="w tc color-white ud-sidepic">
             <a href="{:U('/Admin/User/edit',array('uid'=>$uid))}"><img src="{$avatar|get_cover='path'}" class="radius w30 ud-shadow" alt=""></a>
             <p class="ud-admin"><a href="{:U('/Admin/User/edit',array('uid'=>$uid))}" class="color-f">{$nickname}</a>[<span id="loginout">退出</span>]</p>
        </div>
        </div>
        <div class="mt-10">
          <div class="panel-group ud-sidebar-menu" id="accordion" role="tablist" aria-multiselectable="true">
           <volist name="menus" id="vo">
                <div class="panel panel-default ud-panel">
                  <div class="panel-heading" role="tab" id="heading{$key}">
                    <h4 class="panel-title">
                    <php>if(empty($vo['_child'])){</php>
                      <a href="{:U($vo['name'])}" >
                        <div class="collapsible-header">
                           <span class="mr-1"><i class="iconfont {$vo.icon}"></i></span>
                            {$vo.title} 
                         </div>
                      </a>
                    <php>}else{</php>
                      <a class="collapsed" role="button" data-toggle="collapse" data-parent="#accordion" href="#collapse{$key}" aria-expanded="false" aria-controls="collapse{$key}">
                       <div class="collapsible-header">
                            <span class="mr-1"><i class="iconfont {$vo.icon}"></i></span> {$vo.title} 
                            <span class="right mr-0 f22 mtf5"><i class="iconfont icon-xiajiantou f16"></i></span>
                        </div>
                      </a>
                    <php>}</php>
                    </h4>
                  </div>
                  <div id="collapse{$key}" class="panel-collapse collapse" role="tabpanel" aria-labelledby="heading{$key}">
                    <div class="panel-body pt-0 pb-0">
                      <ul class="ud-sidebar-ul pl54">
                        <volist name="vo._child" id="v">
                            <li><a href="{:U($v['name'])}" class="color-26" >{$v.title}</a> </li>
                        </volist>                 
                     </ul>
                    </div>
                  </div>
                </div>
            </volist>
        </div>

          </div>
      </div>